import React from 'react';
import { connect } from 'dva';
import { Icon } from 'antd';

import styles from './GlobalLayout.less';


function GlobalFooter({ className, footer }) {
  return (
    <div className={className?className:styles.footer}>
      Copyright <Icon type='copyright' /> { footer }
    </div>
  );
}


export default connect(({ hnxWebService }) => ({
  ...hnxWebService,
}))(GlobalFooter);
